home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 2003 September / PC Answers September 2003.iso / Software / trial / AutoMate 5.0.4.1 / automate5_eval_setup.exe / Speak_Custom_text.aml < prev    next >
Encoding:
Text File  |  2002-05-12  |  1.1 KB  |  26 lines

  1. <AM5TASK>
  2. <AMTASKHEAD>
  3.     <TASKINFO TASKNAME="">
  4. <\AMTASKHEAD>
  5. <STEPS>
  6. <!---         Show message box telling the user what is going on --->
  7. <AMMESSAGEBOX WINDOWTITLE="Sample Task" BUTTONS="ok_cancel" ICON="information" ONSECONDBUTTONCLICK="stop">This sample task demonstrates the following:
  8. 1) Use of the Input Action to ask the user a question, retrieve the answer and use it in another step
  9. 2) Use of the Speak action (text to speech)
  10.  
  11. Remember you can always stop a task in progress by pressing CTRL-ALT-END. Press okay to continue running the task or Cancel to stop now.</AMMESSAGEBOX>
  12. <!--- Create variable to store users answer --->
  13. <AMVARIABLE NAME="thetext" DESCRIPTION=""></AMVARIABLE>
  14. <!--- Ask the user what to say --->
  15. <AMINPUTBOX WINDOWTITLE="Speak" RESULTVARIABLE="thetext">(please note, on older operating systems SAPI must be installed for this to function)
  16. What would you like AutoMate to say?
  17. </AMINPUTBOX>
  18. <!--- Say it --->
  19. <AMSPEAK ENGINE="automatic">Okay fine, I will say it just for you.
  20.  
  21. %thetext%.
  22.  
  23. Cool isn't it?  </AMSPEAK>
  24. <\STEPS>
  25. </AM5TASK>
  26.